package com.bw.auth.exception;

import lombok.Data;

@Data
public class BizException extends RuntimeException{

    private int code;
    private String message;

    public BizException(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public BizException(String message) {
        this.message = message;
    }
}
